package com.ruoyi.credit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 base_customer
 * 
 * @author zhulei
 * @date 2022-03-10
 */
public class BaseCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户id */
    private Long id;

    /** 客户uid */
    @Excel(name = "客户uid")
    private String customerUid;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customerNumber;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerUid(String customerUid) 
    {
        this.customerUid = customerUid;
    }

    public String getCustomerUid() 
    {
        return customerUid;
    }
    public void setCustomerNumber(String customerNumber) 
    {
        this.customerNumber = customerNumber;
    }

    public String getCustomerNumber() 
    {
        return customerNumber;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreationDate(Date creationDate) 
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate() 
    {
        return creationDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate) 
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate() 
    {
        return lastUpdateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerUid", getCustomerUid())
            .append("customerNumber", getCustomerNumber())
            .append("customerName", getCustomerName())
            .append("status", getStatus())
            .append("creationDate", getCreationDate())
            .append("lastUpdateDate", getLastUpdateDate())
            .toString();
    }
}
